<?php
/**
 * 文章标签model
 * @author caoge
 * @version 2012-7-17
 */
class ArticleTagModel extends BaseModel{
	public $_link = array(
			'Article'=>array(
					'mapping_type'=>MANY_TO_MANY,
					'class_name'=>'Article',
					'mapping_name'=>'article',
					'foreign_key'=>'tag_id',
					'relation_foreign_key'=>'article_id',
					'relation_table'=>'blog_article_tag_relationship'
			)
	);
}